package com.cbox.entity;

import java.util.Date;

/**
 * Created by Administrator on 2017-12-05.
 */
public class ShoppingCart {
    private long id;
    private long userId;
    private long productId;
    private String userCookId;
    private String userIP;
    private String productName;
    private double productPriceShop;
    private double productPriceUser;
    private int productNumber;
    private int shoppingCheck;
    private Date shoppingTime;
    private short isGift;
    private short status;
    private Date inTime;

    public ShoppingCart(long id, long userId, long productId, String userCookId, String userIP, String productName, double productPriceShop, double productPriceUser, int productNumber, int shoppingCheck, Date shoppingTime, short isGift, short status, Date inTime) {
        this.id = id;
        this.userId = userId;
        this.productId = productId;
        this.userCookId = userCookId;
        this.userIP = userIP;
        this.productName = productName;
        this.productPriceShop = productPriceShop;
        this.productPriceUser = productPriceUser;
        this.productNumber = productNumber;
        this.shoppingCheck = shoppingCheck;
        this.shoppingTime = shoppingTime;
        this.isGift = isGift;
        this.status = status;
        this.inTime = inTime;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getProductId() {
        return productId;
    }

    public void setProductId(long productId) {
        this.productId = productId;
    }

    public String getUserCookId() {
        return userCookId;
    }

    public void setUserCookId(String userCookId) {
        this.userCookId = userCookId;
    }

    public String getUserIP() {
        return userIP;
    }

    public void setUserIP(String userIP) {
        this.userIP = userIP;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public double getProductPriceShop() {
        return productPriceShop;
    }

    public void setProductPriceShop(double productPriceShop) {
        this.productPriceShop = productPriceShop;
    }

    public double getProductPriceUser() {
        return productPriceUser;
    }

    public void setProductPriceUser(double productPriceUser) {
        this.productPriceUser = productPriceUser;
    }

    public int getProductNumber() {
        return productNumber;
    }

    public void setProductNumber(int productNumber) {
        this.productNumber = productNumber;
    }

    public int getShoppingCheck() {
        return shoppingCheck;
    }

    public void setShoppingCheck(int shoppingCheck) {
        this.shoppingCheck = shoppingCheck;
    }

    public Date getShoppingTime() {
        return shoppingTime;
    }

    public void setShoppingTime(Date shoppingTime) {
        this.shoppingTime = shoppingTime;
    }

    public short getIsGift() {
        return isGift;
    }

    public void setIsGift(short isGift) {
        this.isGift = isGift;
    }

    public short getStatus() {
        return status;
    }

    public void setStatus(short status) {
        this.status = status;
    }

    public Date getInTime() {
        return inTime;
    }

    public void setInTime(Date inTime) {
        this.inTime = inTime;
    }
}
